<template>
  <div class="">
    <h1>商品详情页</h1>
    <!-- {{ item }} -->
    <img :src="item.pic" alt="" />
    <h1>{{ item.title }}</h1>
  </div>
</template>

<script>
export default {
  data() {
    return {
      // item: this.$route.query.item,
      // id: this.$route.query.id,
      item: this.$route.params.item,
    };
  },
  mounted() {},
  methods: {},
  components: {},
};
</script>

<style lang="scss"></style>
